GtkTreeSelection: Use G_PARAM_EXPLICIT_NOTIFY
authorMatthias Clasen <mclasen@redhat.com>
Mon, 9 Jun 2014 15:49:45 +0000 (11:49 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 9 Jun 2014 17:31:13 +0000 (13:31 -0400)
gtk/gtktreeselection.c

index 06c3dd862f9c773a606f4d7861633ac7a3125bda..f797ee3059c5246b4af9204a5b17bf1a978a87cd 100644 (file)
@@ -22,6 +22,7 @@
 #include "gtkrbtree.h"
 #include "gtkmarshalers.h"
 #include "gtkintl.h"
+#include "gtkprivate.h"
 #include "gtktypebuiltins.h"
 #include "a11y/gtktreeviewaccessibleprivate.h"
 
@@ -130,8 +131,7 @@ gtk_tree_selection_class_init (GtkTreeSelectionClass *class)
                                              P_("Selection mode"),
                                              GTK_TYPE_SELECTION_MODE,
                                              GTK_SELECTION_SINGLE,
-                                             G_PARAM_READWRITE |
-                                             G_PARAM_STATIC_STRINGS);
+                                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
   /* Install all properties */
   g_object_class_install_properties (object_class, N_PROPERTIES, properties);